package com.cosina.mr.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {
	
	public static String format(Date date,String format){
		return new SimpleDateFormat(null == format ? "yy-MM-dd" : format).format(date);
	}
}
